import {Search} from "@taroify/core";
import {useState} from "react";

import './index.scss'

export default function OrderSearch() {

  const [value, setValue] = useState("");

  return (
    <Search
      value={value}
      clearable={true}
      placeholder={"请输入订单编码"}
      onChange={(e) => {
        setValue(e.detail.value)
      }}
    />
  )
}
